package com.server.db.bean;

import com.sandking.tools.SK_Map;
import java.util.ArrayList;
import com.server.db.imp.YjfjImp;
import com.alibaba.fastjson.JSON;
import java.util.Map;
import com.sandking.io.SK_ByteBuff;
import com.sandking.tools.SK_Plus;
import java.util.List;
import com.server.db.imp.FjlxImp;
import com.server.db.imp.YjlxImp;
import java.util.HashMap;
import com.server.db.imp.YhyjImp;

/**
 * 邮件附件
 */
public class Yjfj {

	public static final String TABLE_NAME = "邮件附件";
	public static final String CLASS_NAME = "Yjfj"; 
	static final int MAX_GET = Short.MAX_VALUE;
	
	//索引名称
	public static final String  Id_IndexName = "id";
	public static final String  Yjlx_id_IndexName = "yjlx_id";
	public static final String  Yhyj_id_IndexName = "yhyj_id";
	public static final String  Fjlx_id_IndexName = "fjlx_id";
	
	//对象版本号	
	private int _v = 0;
	public int _nextVer(){
		if(_v > MAX_GET) _v = 0;
		return ++_v;
	}
	
	public int _getVer(){
		return _v;
	}
	
	//是否是源对象
	private boolean _source = false;
	
	public boolean is_source() {
		return _source;
	}

	public void set_source(boolean _source) {
		this._source = _source;
	}
	
	//Cache 中的索引
	private String  id_Unique = null;
	private String  yjlx_id_Index = null;
	private String  yhyj_id_Index = null;
	private String  fjlx_id_Index = null;
	public Yjfj updatePrimaryIndex(){
		return updatePrimaryIndex(this);
	}
	
	public static List<Yjfj> updatePrimaryIndex(List<Yjfj> yjfjs){
		for(Yjfj yjfj : yjfjs){
			updatePrimaryIndex(yjfj);	
		}
		return yjfjs;
	}
	
	public static Yjfj updatePrimaryIndex(Yjfj yjfj){
		String field = SK_Plus.b(yjfj.getId()).e();
		yjfj.setId_Unique(field);
		
		field = SK_Plus.b(yjfj.getYjlx_id()).e();
		yjfj.setYjlx_id_Index(field);
		
		field = SK_Plus.b(yjfj.getYhyj_id()).e();
		yjfj.setYhyj_id_Index(field);
		
		field = SK_Plus.b(yjfj.getFjlx_id()).e();
		yjfj.setFjlx_id_Index(field);
		
		return yjfj;
	}
	
	
	/**
	 * 需要更新字段集
	 */
	private Map<String, Object> updateColumns;

	/* 可能需要补救的字段 */
	private SK_ByteBuff byteBuff = SK_ByteBuff.allocate();
	
	public SK_ByteBuff getSK_ByteBuff(){
		return this.byteBuff;
	}
	
	/** id */
	private int id;
	
	/** 附件id */
	private int fjid;
	
	/** 邮件类型_id */
	private int yjlx_id;
	
	/** 用户邮件_id */
	private int yhyj_id;
	
	/** 附件类型_id */
	private int fjlx_id;
	
	/** 附件数量 */
	private int fjsl;
	
	
	public Yjfj() {
		super();
		this._source = true;
	}
	
	public Yjfj(int id, int fjid, int yjlx_id, int yhyj_id, int fjlx_id, int fjsl) {
		super();
		this.id = id;
		this.fjid = fjid;
		this.yjlx_id = yjlx_id;
		this.yhyj_id = yhyj_id;
		this.fjlx_id = fjlx_id;
		this.fjsl = fjsl;
		this._source = true;
	}
	
	public Map<String, Object> getUpdateColumns() {
		if(updateColumns == null)
			updateColumns = new HashMap<String, Object>();
		return updateColumns;
	}
	
	public void setUpdateColumns(Map<String, Object> updateColumns) {
		this.updateColumns = updateColumns;
	}
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		changeSetId(id);
		if(!this._source){
			byteBuff.writeInt(1);
			byteBuff.writeInt(id);
		}
	}
	
	private void changeSetId(int id) {
		this.id = id;
		if(!this._source){
			addUpdateColumn("id",id);
		}
	}
	
	public void changeIdWith(int id){
		this.id += id;
		changeSetId(this.id);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(2);
			byteBuff.writeInt(id);
		}
	}
	public void changeIdWithMin(int id,int min){
		this.id += id;
		this.id = this.id < min ? min : this.id;
		changeSetId(this.id);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(3);
			byteBuff.writeInt(id);
			byteBuff.writeInt(min);
		}	
	}
	public void changeIdWithMax(int id,int max){
		this.id += id;
		this.id = this.id > max ? max : this.id;
		changeSetId(this.id);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(4);
			byteBuff.writeInt(id);
			byteBuff.writeInt(max);
		}
	}
	public void changeIdWithMaxMin(int id,int max,int min){
		this.id += id;
		this.id = this.id < min ? min : this.id;
		this.id = this.id > max ? max : this.id;
		changeSetId(this.id);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(5);
			byteBuff.writeInt(id);
			byteBuff.writeInt(max);
			byteBuff.writeInt(min);
		}	
	}	
	public int getFjid() {
		return fjid;
	}
	
	public void setFjid(int fjid) {
		changeSetFjid(fjid);
		if(!this._source){
			byteBuff.writeInt(6);
			byteBuff.writeInt(fjid);
		}
	}
	
	private void changeSetFjid(int fjid) {
		this.fjid = fjid;
		if(!this._source){
			addUpdateColumn("附件id",fjid);
		}
	}
	
	public void changeFjidWith(int fjid){
		this.fjid += fjid;
		changeSetFjid(this.fjid);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(7);
			byteBuff.writeInt(fjid);
		}
	}
	public void changeFjidWithMin(int fjid,int min){
		this.fjid += fjid;
		this.fjid = this.fjid < min ? min : this.fjid;
		changeSetFjid(this.fjid);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(8);
			byteBuff.writeInt(fjid);
			byteBuff.writeInt(min);
		}	
	}
	public void changeFjidWithMax(int fjid,int max){
		this.fjid += fjid;
		this.fjid = this.fjid > max ? max : this.fjid;
		changeSetFjid(this.fjid);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(9);
			byteBuff.writeInt(fjid);
			byteBuff.writeInt(max);
		}
	}
	public void changeFjidWithMaxMin(int fjid,int max,int min){
		this.fjid += fjid;
		this.fjid = this.fjid < min ? min : this.fjid;
		this.fjid = this.fjid > max ? max : this.fjid;
		changeSetFjid(this.fjid);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(10);
			byteBuff.writeInt(fjid);
			byteBuff.writeInt(max);
			byteBuff.writeInt(min);
		}	
	}	
	public int getYjlx_id() {
		return yjlx_id;
	}
	
	public void setYjlx_id(int yjlx_id) {
		changeSetYjlx_id(yjlx_id);
		if(!this._source){
			byteBuff.writeInt(11);
			byteBuff.writeInt(yjlx_id);
		}
	}
	
	private void changeSetYjlx_id(int yjlx_id) {
		this.yjlx_id = yjlx_id;
		if(!this._source){
			addUpdateColumn("邮件类型_id",yjlx_id);
		}
	}
	
	public void changeYjlx_idWith(int yjlx_id){
		this.yjlx_id += yjlx_id;
		changeSetYjlx_id(this.yjlx_id);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(12);
			byteBuff.writeInt(yjlx_id);
		}
	}
	public void changeYjlx_idWithMin(int yjlx_id,int min){
		this.yjlx_id += yjlx_id;
		this.yjlx_id = this.yjlx_id < min ? min : this.yjlx_id;
		changeSetYjlx_id(this.yjlx_id);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(13);
			byteBuff.writeInt(yjlx_id);
			byteBuff.writeInt(min);
		}	
	}
	public void changeYjlx_idWithMax(int yjlx_id,int max){
		this.yjlx_id += yjlx_id;
		this.yjlx_id = this.yjlx_id > max ? max : this.yjlx_id;
		changeSetYjlx_id(this.yjlx_id);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(14);
			byteBuff.writeInt(yjlx_id);
			byteBuff.writeInt(max);
		}
	}
	public void changeYjlx_idWithMaxMin(int yjlx_id,int max,int min){
		this.yjlx_id += yjlx_id;
		this.yjlx_id = this.yjlx_id < min ? min : this.yjlx_id;
		this.yjlx_id = this.yjlx_id > max ? max : this.yjlx_id;
		changeSetYjlx_id(this.yjlx_id);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(15);
			byteBuff.writeInt(yjlx_id);
			byteBuff.writeInt(max);
			byteBuff.writeInt(min);
		}	
	}	
	public int getYhyj_id() {
		return yhyj_id;
	}
	
	public void setYhyj_id(int yhyj_id) {
		changeSetYhyj_id(yhyj_id);
		if(!this._source){
			byteBuff.writeInt(16);
			byteBuff.writeInt(yhyj_id);
		}
	}
	
	private void changeSetYhyj_id(int yhyj_id) {
		this.yhyj_id = yhyj_id;
		if(!this._source){
			addUpdateColumn("用户邮件_id",yhyj_id);
		}
	}
	
	public void changeYhyj_idWith(int yhyj_id){
		this.yhyj_id += yhyj_id;
		changeSetYhyj_id(this.yhyj_id);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(17);
			byteBuff.writeInt(yhyj_id);
		}
	}
	public void changeYhyj_idWithMin(int yhyj_id,int min){
		this.yhyj_id += yhyj_id;
		this.yhyj_id = this.yhyj_id < min ? min : this.yhyj_id;
		changeSetYhyj_id(this.yhyj_id);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(18);
			byteBuff.writeInt(yhyj_id);
			byteBuff.writeInt(min);
		}	
	}
	public void changeYhyj_idWithMax(int yhyj_id,int max){
		this.yhyj_id += yhyj_id;
		this.yhyj_id = this.yhyj_id > max ? max : this.yhyj_id;
		changeSetYhyj_id(this.yhyj_id);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(19);
			byteBuff.writeInt(yhyj_id);
			byteBuff.writeInt(max);
		}
	}
	public void changeYhyj_idWithMaxMin(int yhyj_id,int max,int min){
		this.yhyj_id += yhyj_id;
		this.yhyj_id = this.yhyj_id < min ? min : this.yhyj_id;
		this.yhyj_id = this.yhyj_id > max ? max : this.yhyj_id;
		changeSetYhyj_id(this.yhyj_id);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(20);
			byteBuff.writeInt(yhyj_id);
			byteBuff.writeInt(max);
			byteBuff.writeInt(min);
		}	
	}	
	public int getFjlx_id() {
		return fjlx_id;
	}
	
	public void setFjlx_id(int fjlx_id) {
		changeSetFjlx_id(fjlx_id);
		if(!this._source){
			byteBuff.writeInt(21);
			byteBuff.writeInt(fjlx_id);
		}
	}
	
	private void changeSetFjlx_id(int fjlx_id) {
		this.fjlx_id = fjlx_id;
		if(!this._source){
			addUpdateColumn("附件类型_id",fjlx_id);
		}
	}
	
	public void changeFjlx_idWith(int fjlx_id){
		this.fjlx_id += fjlx_id;
		changeSetFjlx_id(this.fjlx_id);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(22);
			byteBuff.writeInt(fjlx_id);
		}
	}
	public void changeFjlx_idWithMin(int fjlx_id,int min){
		this.fjlx_id += fjlx_id;
		this.fjlx_id = this.fjlx_id < min ? min : this.fjlx_id;
		changeSetFjlx_id(this.fjlx_id);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(23);
			byteBuff.writeInt(fjlx_id);
			byteBuff.writeInt(min);
		}	
	}
	public void changeFjlx_idWithMax(int fjlx_id,int max){
		this.fjlx_id += fjlx_id;
		this.fjlx_id = this.fjlx_id > max ? max : this.fjlx_id;
		changeSetFjlx_id(this.fjlx_id);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(24);
			byteBuff.writeInt(fjlx_id);
			byteBuff.writeInt(max);
		}
	}
	public void changeFjlx_idWithMaxMin(int fjlx_id,int max,int min){
		this.fjlx_id += fjlx_id;
		this.fjlx_id = this.fjlx_id < min ? min : this.fjlx_id;
		this.fjlx_id = this.fjlx_id > max ? max : this.fjlx_id;
		changeSetFjlx_id(this.fjlx_id);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(25);
			byteBuff.writeInt(fjlx_id);
			byteBuff.writeInt(max);
			byteBuff.writeInt(min);
		}	
	}	
	public int getFjsl() {
		return fjsl;
	}
	
	public void setFjsl(int fjsl) {
		changeSetFjsl(fjsl);
		if(!this._source){
			byteBuff.writeInt(26);
			byteBuff.writeInt(fjsl);
		}
	}
	
	private void changeSetFjsl(int fjsl) {
		this.fjsl = fjsl;
		if(!this._source){
			addUpdateColumn("附件数量",fjsl);
		}
	}
	
	public void changeFjslWith(int fjsl){
		this.fjsl += fjsl;
		changeSetFjsl(this.fjsl);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(27);
			byteBuff.writeInt(fjsl);
		}
	}
	public void changeFjslWithMin(int fjsl,int min){
		this.fjsl += fjsl;
		this.fjsl = this.fjsl < min ? min : this.fjsl;
		changeSetFjsl(this.fjsl);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(28);
			byteBuff.writeInt(fjsl);
			byteBuff.writeInt(min);
		}	
	}
	public void changeFjslWithMax(int fjsl,int max){
		this.fjsl += fjsl;
		this.fjsl = this.fjsl > max ? max : this.fjsl;
		changeSetFjsl(this.fjsl);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(29);
			byteBuff.writeInt(fjsl);
			byteBuff.writeInt(max);
		}
	}
	public void changeFjslWithMaxMin(int fjsl,int max,int min){
		this.fjsl += fjsl;
		this.fjsl = this.fjsl < min ? min : this.fjsl;
		this.fjsl = this.fjsl > max ? max : this.fjsl;
		changeSetFjsl(this.fjsl);
		//不是源对象才记录变更操作
		if(!this._source){
			byteBuff.writeInt(30);
			byteBuff.writeInt(fjsl);
			byteBuff.writeInt(max);
			byteBuff.writeInt(min);
		}	
	}	
	
	//用户邮件_id
	public Yhyj getYhyjPkYhyj_id(){
		return YhyjImp.getById(yhyj_id);
	}
	//邮件类型_id
	public Yjlx getYjlxPkYjlx_id(){
		return YjlxImp.getById(yjlx_id);
	}
	//附件类型_id
	public Fjlx getFjlxPkFjlx_id(){
		return FjlxImp.getById(fjlx_id);
	}
	public void addUpdateColumn(String key, Object val) {
		Map<String, Object> map = getUpdateColumns();
		if (map == null)
			return;
		map.put(key, val);
	}
	/**
	public void clearUpdateColumn() {
		Map<String, Object> map = getUpdateColumns();
		if (map == null)
			return;
		map.clear();
	}
	*/
	public Yjfj clone(){
		Yjfj yjfj = new Yjfj();
		yjfj.setId(this.getId());
		yjfj.setFjid(this.getFjid());
		yjfj.setYjlx_id(this.getYjlx_id());
		yjfj.setYhyj_id(this.getYhyj_id());
		yjfj.setFjlx_id(this.getFjlx_id());
		yjfj.setFjsl(this.getFjsl());
		yjfj._v = _v;
		yjfj._source = false;
		return yjfj.updatePrimaryIndex(); 
	}
	
	public Map<String, Object> toMap(){
        Map<String, Object> result = new HashMap<String, Object>();
        result.put("id", this.id);
        result.put("fjid", this.fjid);
        result.put("yjlx_id", this.yjlx_id);
        result.put("yhyj_id", this.yhyj_id);
        result.put("fjlx_id", this.fjlx_id);
        result.put("fjsl", this.fjsl);
        return result;
    }
    
    public String toString(){
        return toMap().toString();
    }
    
    public String toJson(){
    	return JSON.toJSONString(toMap());
    }
    
    /**
     * 数据库源字段Map
     */
    public Map<String, Object> toColumnNameMap(){
        Map<String, Object> result = new HashMap<String, Object>();
        result.put("id", this.id);
        result.put("附件id", this.fjid);
        result.put("邮件类型_id", this.yjlx_id);
        result.put("用户邮件_id", this.yhyj_id);
        result.put("附件类型_id", this.fjlx_id);
        result.put("附件数量", this.fjsl);
        return result;
    }
    
    public String toColumnNameString(){
        return toColumnNameMap().toString();
    }
    
    public byte[] toBytes() throws Exception {
    	SK_ByteBuff byteBuff = SK_ByteBuff.allocate();
	    byteBuff.writeInt(this.id);
	    byteBuff.writeInt(this.fjid);
	    byteBuff.writeInt(this.yjlx_id);
	    byteBuff.writeInt(this.yhyj_id);
	    byteBuff.writeInt(this.fjlx_id);
	    byteBuff.writeInt(this.fjsl);
	    return byteBuff.toByte();
    }
    
    public byte[] toSKBytes(){
    	SK_ByteBuff byteBuff = SK_ByteBuff.allocate();
    	byteBuff.writeMap(toMap());
	    return byteBuff.toByte();
    }
    
     public static Yjfj createForBytes(byte[] _byte) throws Exception {
     	SK_ByteBuff byteBuff = SK_ByteBuff.wrap(_byte);
     	Yjfj yjfj = new Yjfj();
	    yjfj.id = byteBuff.readInt(null);
	    yjfj.fjid = byteBuff.readInt(null);
	    yjfj.yjlx_id = byteBuff.readInt(null);
	    yjfj.yhyj_id = byteBuff.readInt(null);
	    yjfj.fjlx_id = byteBuff.readInt(null);
	    yjfj.fjsl = byteBuff.readInt(null);
	    return yjfj.updatePrimaryIndex();
     }
     
     public static Yjfj createForSKBytes(byte[] _byte){
     		SK_ByteBuff byteBuff = SK_ByteBuff.wrap(_byte);
     		@SuppressWarnings("unchecked")
     		Map<String,Object> map = byteBuff.readMap(null);
	     	Yjfj yjfj = Yjfj.createForMap(map);
		    return yjfj.updatePrimaryIndex();
     }
    
    /**
     * 根据list创建对象
     */
    public static List<Yjfj> createForColumnNameList(List<Map<String, Object>> list){
    	List<Yjfj> yjfjs = new ArrayList<Yjfj>();
		for (Map<String, Object> map : list) {
			yjfjs.add(createForColumnNameMap(map));
		}
		return yjfjs;
    }
    
    /**
     * 根据map创建对象
     */
    public static Yjfj createForColumnNameMap(Map<String, Object> map){
    	Yjfj obj = new Yjfj();
	    obj.id = SK_Map.getInt("id", map);
	    obj.fjid = SK_Map.getInt("附件id", map);
	    obj.yjlx_id = SK_Map.getInt("邮件类型_id", map);
	    obj.yhyj_id = SK_Map.getInt("用户邮件_id", map);
	    obj.fjlx_id = SK_Map.getInt("附件类型_id", map);
	    obj.fjsl = SK_Map.getInt("附件数量", map);
        return obj.updatePrimaryIndex();
    }
    
    /**
     * 根据list创建对象
     */
    public static List<Yjfj> createForList(List<Map<String, Object>> list){
    	List<Yjfj> yjfjs = new ArrayList<Yjfj>();
		for (Map<String, Object> map : list) {
			yjfjs.add(createForColumnNameMap(map));
		}
		return yjfjs;
    }
    
    /**
     * 根据map创建对象
     */
    public static Yjfj createForMap(Map<String, Object> map){
    	Yjfj obj = new Yjfj();
	    obj.id = SK_Map.getInt("id", map);
	    obj.fjid = SK_Map.getInt("fjid", map);
	    obj.yjlx_id = SK_Map.getInt("yjlx_id", map);
	    obj.yhyj_id = SK_Map.getInt("yhyj_id", map);
	    obj.fjlx_id = SK_Map.getInt("fjlx_id", map);
	    obj.fjsl = SK_Map.getInt("fjsl", map);
        return obj.updatePrimaryIndex();
    }
    
    public static Yjfj createForJson(String json){
    	Map<String, Object> map = JSON.parseObject(json);
    	return createForMap(map);
    }
    
    public static List<Yjfj> createForJson(List<String> jsons){
    	List<Yjfj> yjfjs = new ArrayList<Yjfj>();
    	for(String json : jsons){
    		yjfjs.add(createForJson(json));
    	}
    	return yjfjs;
    }
    
    /** 级联删除(延迟入库) */
    public boolean deleteAndSon(){
    	return false;
    }
    
    /** 级联删除(及时入库) */
    public boolean deleteAndSonAndFlush(){
    	return false;
    }
    
    /** 延迟插入数据库 */
    public Yjfj insert(){
    	return YjfjImp.insert(this);
    }
    /** 延迟更新数据库 */
    public Yjfj update(){
    	return YjfjImp.update(this);
    }
    /** 延迟删除数据库 */
    public boolean delete(){
    	return YjfjImp.delete(this);
    }
    /** 即时插入数据库 */
    public Yjfj insertAndFlush(){
    	return YjfjImp.insertAndFlush(this);
    }
    /** 即时更新数据库 */
    public Yjfj updateAndFlush(){
    	return YjfjImp.updateAndFlush(this);
    }
    /** 即时删除数据库 */
    public boolean deleteAndFlush(){
    	return YjfjImp.deleteAndFlush(this);
    }
    
    
    
    //--------------------------------Cache 中的索引 GET & SET
	public String getId_Unique(){
		return id_Unique;
	}
	
	public void setId_Unique(String id_Unique){
		this.id_Unique = id_Unique;
	}
	
	public String getYjlx_id_Index(){
		return yjlx_id_Index;
	}
	
	public void setYjlx_id_Index(String yjlx_id_Index){
		this.yjlx_id_Index = yjlx_id_Index;
	}
	
	public String getYhyj_id_Index(){
		return yhyj_id_Index;
	}
	
	public void setYhyj_id_Index(String yhyj_id_Index){
		this.yhyj_id_Index = yhyj_id_Index;
	}
	
	public String getFjlx_id_Index(){
		return fjlx_id_Index;
	}
	
	public void setFjlx_id_Index(String fjlx_id_Index){
		this.fjlx_id_Index = fjlx_id_Index;
	}
	
	
	
	/** 取得改变的索引 */
	public Map<String,String> getUpdateIndexs(){
		Map<String,String> indexNames = new HashMap<String,String>();
		if(!this.getId_Unique().equals(SK_Plus.b(id).e())){
			indexNames.put(Yjfj.Id_IndexName,SK_Plus.b(id).e());
			indexNames.put("isUpdtaeUnique","true");
		}
			
		if(!this.getYjlx_id_Index().equals(SK_Plus.b(yjlx_id).e()))
			indexNames.put(Yjfj.Yjlx_id_IndexName,SK_Plus.b(yjlx_id).e());
			
		if(!this.getYhyj_id_Index().equals(SK_Plus.b(yhyj_id).e()))
			indexNames.put(Yjfj.Yhyj_id_IndexName,SK_Plus.b(yhyj_id).e());
			
		if(!this.getFjlx_id_Index().equals(SK_Plus.b(fjlx_id).e()))
			indexNames.put(Yjfj.Fjlx_id_IndexName,SK_Plus.b(fjlx_id).e());
			
		return indexNames;
	}
}